<ion-view class="pound-view" view-title="磅重">
    <ion-nav-buttons side="right">
        <button class="button button-accept" style="font-size: 16px;background: #67b1e3;" ng-click="goCircumference()">跳转至周径测量</button>
        <im-button-user photo="data.photo"></im-button-user>
    </ion-nav-buttons>
    <ion-header-bar class="bar-subheader">
        <im-card-header card-title="单品信息"></im-card-header>
        <div class="im-flow-container">
            <im-master-item class="im-flow-item" master-name="芯片" master-value="{{data.Barcode}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="型号" master-value="{{data.barcode.ItemMasterCode}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="尺寸" master-value="{{data.barcode.DescSeg1}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="外观" master-value="{{data.barcode.DescSeg2}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="批次" master-value="{{data.barcode.MOLotNumber}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="工单" master-value="{{data.barcode.MOCode}}">
            </im-master-item>
        </div>
        <im-card-header card-title="测量信息"></im-card-header>
    </ion-header-bar>
    <ion-content scroll="false" style="padding: 50px 20px;">
        <div class="im-flow-container">
            <div class="show-div" style="width: 100%;">
                <div class="weight-img">
                    <img ng-src="{{imgPath.weight}}">
                    <div class="title-name">重量</div>
                </div>
                <div class="row weight-param">
                    <div class="col" style="margin-left: 10%;">
                        <div class="input-param" style="font-size: 50px;width:70%;">
                            <input type="number" name="weight" ng-model="data.Weight[0].NormValue" ng-class="{assertive:data.Weight[0].NormValue>data.Weight[0].ValueUpperLimit||data.Weight[0].NormValue<data.Weight[0].ValueLowerLimit}">
                        </div>
                        <div class="standard-value" style="color: #5d5757;">
                            <div class="left-standard">
                                <div>标准:{{data.Weight[0].StandardValue}}</div>
                                <div style="font-size: 20px">
                                    <span>+{{(data.Weight[0].ValueUpperLimit - data.Weight[0].StandardValue) | number:1}}</span>
                                    <span>-{{(data.Weight[0].StandardValue - data.Weight[0].ValueLowerLimit) | number:1}}</span>
                                </div>
                            </div>
                        </div>
                        <div class="weight-unit">{{data.Weight[0].QCNormUnit}}</div>
                    </div>
                </div>
            </div>
        </div>
        </div>
    </ion-content>
    <ion-footer-bar class="firstConfirm-footer">
        <im-pull-right>
            <button class="button button-accept" ng-disable="data.Weight[0].StandardValue" ng-click="saveParam()">
                确认
            </button>
        </im-pull-right>
    </ion-footer-bar>
</ion-view>
